/*定义全局样式*/
body {
    font-family: 'Lato', Calibri, Arial, "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: #47a3da;
}

h1 {
    font-size: 2.2em;
    font-weight: 500;
}

h2 {
    font-size: 1.5em;
    font-weight: 500;
}

a {
    color: #47a3da;
    text-decoration: none;
}

/*首页样式*/
ul {
    padding: 0;
    list-style: none;
    position: relative;
}

ul:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #afdcf8;
    left: 22%;
}

li {
    display: list-item;
    text-align: -webkit-match-parent;
    position: relative;
    min-height: 1px;
    box-sizing: border-box;
}

/*整体宽度*/
.container {
    padding: 2%;
    margin-right: auto;
    margin-left: auto;
}

/*博客名的样式*/
.header {
    margin-right: 3%;
    margin-left: 3%;
}

/*定义时间样式*/
.blog_time {
    display: block;
    width: 20%;
    font-size: 1.6em;
    padding-right: 80px;
    text-align: right;
    position: absolute;
}

.blog_time_icon {
    width: 10px;
    height: 10px;
    font-size: 1.6em;
    line-height: 40px;
    position: absolute;
    color: #fff;
    background: #46a4da;
    border-radius: 50%;
    box-shadow: 0 0 0 6px #afdcf8;
    left: 21%;
    margin: 0 0 0 9px;
}

/*首页博客预览样式*/

.blog_content {
    background: transparent;
    margin: 0 0 15px 28%;
    border: solid #69c5fc 1px;
    padding: 2em;
    font-size: 1em;
    font-weight: 300;
    line-height: 1.4;
    position: relative;
    border-radius: 0 5px 5px 5px;
}

/* 实现气泡效果 */
.blog_content:after {
    right: 100%;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border: 11px solid transparent;
    border-right-color: #FFFFFF;
    border-top-color: #FFFFFF;
    top: 0px;
}

.blog_content:before {
    right: 100%;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border: 12px solid transparent;
    border-right-color: #69c5fc;
    border-top-color: #69c5fc;
    top: -1px;
}

/*详情页面*/
.info {
    margin-right: 3%;
    margin-left: 5%;
}

.date_and_tag {
    color: #999999;
}

.date_and_tag a {
    color: #999999;
}

.date_and_tag a:hover {
    color: #47a3da;
}

/*编辑和添加页面*/

.edit_title, .edit_content, .button {
    font-family: 'Lato', Calibri, Arial, "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

.edit_title {
    display: block;
    width: 98%;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.428571429;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

.edit_content {
    display: block;
    width: 98%;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.428571429;
    color: #555;
    vertical-align: middle;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

/*定义按钮*/
.button {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.428571429;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    background-image: none;
    background: transparent;
    border: 1px solid #ebebeb;
    border-radius: 4px;
    -webkit-user-select: none;
}

.button:hover {
    color: #333;
    background-color: #ebebeb;
    border-color: #adadad;
}

#loading {
    line-height: 0;
    width: 100px;
    margin: 0 auto;
    font-size: 4em;
}

/*开始自适应不同的宽度Start*/
@media screen and (min-width: 1200px) {
    .container {
        width: 1170px;
    }
}

/*1000Px到1200px不处理*/
@media screen and (max-width: 1200px ) {
    /*800到1000Px*/
    .blog_time_icon {
        margin: 0 0 0 7px;
    }
}

@media screen and (max-width: 800px) {
    .container {
        padding: 0;
    }

    /*详情页面*/
    .info {
        margin-right: 3%;
        margin-left: 3%;
    }

    /*首页博客预览样式*/
    h2 {
        margin: 0;
    }

    .blog_content {
        background: transparent;
        border: solid #69c5fc 1px;
        border-radius: 5px;
        margin: 0 0 30px 0;
        padding: 0.8em;
        font-weight: 400;
        font-size: 95%;
    }

    /* 实现气泡效果 */
    .blog_content:after {
        right: auto;
        left: 15px;
        border-right-color: transparent;
        border-bottom-color: #FFFFFF;
        border-top-color: transparent;
        top: -22px;
    }

    .blog_content:before {
        right: auto;
        left: 14px;
        border-right-color: transparent;
        border-bottom-color: #3594cb;
        border-top-color: transparent;
        top: -24px;
    }

    ul:before, .blog_time_icon {
        display: none;
    }

    .blog_time {
        width: 100%;
        position: relative;
        padding: 0 0 10px 0;
        font-size: 1.2em;
        text-align: left;
    }

}

/*开始自适应不同的宽度End*/